\usepackage{subfig}
\usepackage[inline]{enumitem}        % for enumerate*
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{array}
\usepackage[linesnumbered,ruled,vlined]{algorithm2e}
\usepackage{graphicx}
%\newtheorem{definition}{Definition}
%\newtheorem{theorem}{Theorem}
%\newtheorem{proof}{Proof}